package com.quanyan.financialSystem.mapper;

import com.quanyan.financialSystem.entity.vo.resp.*;

import java.util.List;
import java.util.Map;

/**
 * @author xian-guo
 * @email 498152332@qq.com
 * @date 2016/10/15.
 */
public interface BranchPlaceMaper {
    //总场馆数
    int getPlaceCount(Map<String,Object> paramMap);

    //场租成本
    List<RentPlaceMoney> getRentPlacemoney(Map<String,Object> paramMap);

    //会员充值
    List<MemberPayAndSendOrder> getMemberPayAndSendOrder(Map<String,Object> paramMap);

    //会员充值调整金额
//    List<MemberPayAndSenderMoney> getMemberPaySendMoney(Map<String,Object> paramMap);

    //销售
    List<PlaceSaleMoney> getPlaceSaleMoney(Map<String,Object> paramMap);

    //鸟蛋优惠
    List<PlaceSaleEggMoney> getPlaceSaleEggMoney(Map<String,Object> paramMap);

    //会员优惠消费部分
    List<DiscountPlaceMoney> getDiscountPlaceMoney(Map<String,Object> paramMap);
    //会员优惠退款部分
    List<DiscountPlaceMoney> getDiscountPlaceMoneyIn(Map<String,Object> paramMap);
    //消费会员赠送金额
    List<DiscountPlaceMoney> getConsumeGiveAmount(Map<String,Object> paramMap);
    //新会员消费
    List<DiscountNew> getDiscountPlaceMoneyNew(Map<String,Object> paramMap);

    //多种经营
    List<PlaceMultManager> getMultManager(Map<String,Object> paramMap);

    // /合计总价格
    RespTotalBranchPlace getRespTotalBranchPlace(Map<String,Object> paramMap);

    //按城市合计--导出数据
    List<RespTotalBranchPlace> getRespTotalBranchGroupByCityId(Map<String,Object> paramMap);

    //定时任务合计
    int insertTotalBranchPlace(List<RespPlaceProfitReport> respPlaceProfitReportList);

    //获取统计表开始时间
    List<Map<String,Object>> getDayTime();

    //获取场馆表时间
    List<Map<String,Object>> getPlaceDayTime();

    //获取会员流水报表
    List<DbCardMember> getCardMemberList(Map<String,Object> paramMap);

    //获取会员订单对应场馆的购买类型
    List<BuyType> getContractByType(List<BuyType> ids);
    //获取对账日期
    List<DateAndUserType> getReconciliationDate(List<DateAndUserType> ids);
    //获取结算日期
    List<DateAndUserType> getSettleDate(List<DateAndUserType> ids);
    //获取销售人
    List<DateAndUserType> getCreateUserName(List<DateAndUserType> ids);

    int getCardMemberListCount(Map<String,Object> paramMap);
}
